﻿using System.Web.Mvc;

namespace EShop.App.Webs
{
    public class WebsAreaRegistration : AreaRegistrationOrder
    {
        public override string AreaName
        {
            get
            {
                return "Webs";
            }
        }

        public override void RegisterAreaOrder(AreaRegistrationContext context)
        {
            context.MapRoute("Webs_default", "{controller}/{action}/{id}", new { area = "Webs", controller = "Home", action = "index", id = UrlParameter.Optional });
        }

        public override int Order
        {
            get { return 9; }
        }
    }
}
